<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<c:url value="/styles/css/css.css"/>" rel="stylesheet" type="text/css"/>
<link href="<c:url value="/styles/css/main.css"/>" rel="stylesheet" type="text/css" />
<link href="<c:url value="/styles/css/header.css"/>" rel="stylesheet" type="text/css" />
<link href="<c:url value="/styles/css/css.css"/>" rel="stylesheet" type="text/css" />
<link href="<c:url value="/styles/css/login_center.css"/>" rel="stylesheet" type="text/css" />
<script src="<c:url value="/scripts/jquery-1.7.js"/>"  type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$.post("login!findAllUeser",null,function(data){
		var datas=eval(data);
		if(datas!=""){
			$("#uall").html(datas);
		}else{
			$("#uall").html("<td>没有数据</td>");
		}
	}, "json");	
	
});

function showDiv(cilID){
	$.post("login!childUsersAll",{"cid" : cilID},function(data){
	alert("a");
		$("#shownewDiv1").show();
		$("#shownewDiv").html(data);
		alert(data);
	});
}
</script>        
</head>

<body>
<div class="header">
			<div class="header_container">
				<div class="logo1">
					<img src="<c:url value="/images/imgs/logo1.gif" /> "/>
				</div>
                <div class="login_right">
                 <s:if test="#session.user.username == ''">
                <div class="login_users"><span class="text12b">您还未登陆!</span><span class="text12b"><a href="
     			../login/login.jsp">登陆</a></span></div>
                </s:if>
                
                <s:else>
                	<div class="login_users"><span class="text12b">登录者: ${sessionScope.user.username}</span><span class="text12b"><a href="login!loginOut.action">登出</a></span></div>
                   <div class="login_js"><span class="text12b">角色：${sessionScope.user.role.rnumber }</span></div>
                 </s:else>
                </div>
			</div>
		</div>
		
        <div class="nav_bg">
			<div class="nav">
            	<ul>
                   	<li><a href="../openaccount/openaccount.jsp">申请开户</a></li>
                    <li><a href="../recharges/usersall.jsp" >账户充值</a></li>
                    <li><a href="login!findRechUsersAll" >查询用户信息</a></li>
                    <li><a href="../account/account.jsp" >查询账单信息</a></li>
                </ul>
            </div>
 			
		</div>

<div class="tablebg">
  <div class="tablecell1"><span class="text1">用户名称</span></div>
  <div class="tablecell2"><input type="text" class="input2" name="title" style="width:100px" /></div>
  <div class="table_button"><img src="<c:url value="../images/imgs/button-reset.gif" />"/></div>
  <div class="table_button"><input type="button" class="table_button_cx" value=""/></div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="4" bgcolor="#4ac6f3"></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
       <tr>
        <td width="100" height="27" class="text5"><div align="center">用户名</div></td>
        <td width="2"><img src="imgs/bg18.gif" width="2" height="27" /></td>
        <td width="117" class="text5"><div align="center">公司名称</div></td>
        <td width="78" class="text5"><div align="center">联系人</div></td>
        <td width="95" class="text5"><div align="center">联系方式</div></td>
        <td width="120" class="text5"><div align="center">地址</div></td>
        <td width="120" class="text5"><div align="center">创建时间</div></td>
         <td width="120" class="text5"><div align="center">email</div></td>
         <td width="120" class="text5"><div align="center">QQ</div></td>
          <td width="120" class="text5"><div align="center">MSN</div></td>
        <td width="2"><img src="imgs/bg18.gif" width="2" height="27" /></td>
        <td width="80" class="text5"><div align="center">操作</div></td>
      </tr>
    </table></td>
  </tr>


  <tr id="uall">
  
  </tr>


</table>
<div class="table_line"></div>
<div class="tablebg">
  <div class="table_button"><img src="<c:url value="../images/imgs/icon9.png" />"/></div>
  <div class="table_button"><input type="text" class="input2" style="width:20px" /></div>
  <div class="table_page"><span class="text1">共422条数据，显示43页，每页显示10条&nbsp;&nbsp;&nbsp;首页&nbsp;上一页&nbsp;下一页&nbsp;末页</span></div>
</div>
<div class="table_line"></div>
</body>
</html>
